package com.sugar.follow.up.module.business.controller.admin.followuptemplate.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 随访模板新增/修改 Request VO")
@Data
public class FollowUpTemplateSaveReqVO {

    @Schema(description = "问卷模板ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "7936")
    private Long id;

    @Schema(description = "问卷标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "问卷标题不能为空")
    private String title;

    @Schema(description = "需要填写姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotNull(message = "需要填写姓名不能为空")
    private Boolean needInputName;

    @Schema(description = "需要选择年龄", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "需要选择年龄不能为空")
    private Boolean needSelAge;

    @Schema(description = "需要选择性别", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "需要选择性别不能为空")
    private Boolean needSelGender;

    @Schema(description = "需要选择日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "需要选择日期不能为空")
    private Boolean needSelDate;

}